DataPacket Signal

A DataPacket Signal allows you to efficiently transfer structured data. Instead of sending individual values through multiple signals, a single data packet can contain multiple fields and values.

DataPacket Signal can be used between Visual Components and ROS2.

Typical use cases:

  • Sensor data exchange
  • Robot status information
  • Command data
  • Mobile robot telemetry

 

Properties

Name Description
Name Defines the name of the signal.
AutomaticReset Defines if the signal is reset to its initial value when you reset a simulation. A True value resets the signal. A False value does not reset the signal.
PacketType Defines the packet schema associated with the signal. Built-in packet types are available for common use cases, and custom packet types can also be defined.
Connections Defines a list of behaviors that are connected to the signal. Connected behaviors can publish or receive Data Packet information through the signal.

A Data Packet Signal uses a packet schema to define the fields available in each packet. The schema ensures that both the sender and receiver interpret the packet contents consistently. Visual Components 5.2 includes built-in packet types for mobile robot and ROS2 workflows, including velocity commands, odometry, IMU, joint state, and laser scan data. Custom packet types are also supported.